package com.youlu.campus.entity.douyin.dto;

import com.youlu.campus.entity.UserPO;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : [dengbo]
 * @className : DouYinMiniDecryptDTO
 * @description : [抖音解密请求]
 * @createTime : [2023/2/28 18:54]
 */
@Data
public class DouYinMiniDecryptDTO {
    @NotNull(message = "openId不能为空")
    private String openId;

    @NotNull(message = "encryptedData不能为空")
    private String encryptedData;

    @NotNull(message = "iv不能为空")
    private String iv;

    private String rawData;

    private String appId;
    /**
     * 1:用户信息,2:手机号
     */
    private String type;
    private UserPO userPO;
}
